home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19980424-19980901
/
000160_news@newsmaster….columbia.edu _Sat May 30 03:25:44 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-08-31
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA16866
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 30 May 1998 03:25:29 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id DAA17635
for kermit.misc@watsun; Sat, 30 May 1998 03:25:28 -0400 (EDT)
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!panix!news.eecs.umich.edu!news-feed.inet.tele.dk!bofh.vszbr.cz!cpk-news-hub1.bbnplanet.com!cam-news-feed1.bbnplanet.com!news.bbnplanet.com!news-in.ConnActivity.com!fcshome!fredex
From: fredex@fcshome.stoneham.ma.us (Fred Smith)
Subject: Re: accesing modem for users other than root?
X-Newsreader: TIN [version 1.2 PL2]
Organization: None!
Message-ID: <EtqwMI.759@fcshome.stoneham.ma.us>
References: <6kmho4$6ic@portal.gmu.edu>
Date: Sat, 30 May 1998 01:11:05 GMT
Lines: 38
Xref: news.columbia.edu comp.protocols.kermit.misc:8826
Ravi Malghan (rmalghan@site.gmu.edu) wrote:
: Hi,
: I am using the C-Kermit to sent pages over a connected modem. I am able
: to send pages as a root. But when I try sending as any other user
: I get the following message
: ===
: mgtserver% ./page_ravi 18885005136 1 536
: /var/spool/locks: Permission denied
: Sorry, access to lock denied: /dev/ttya
: ======
: The permissions for the locks, term/a files are:
: drwxr-xr-x 2 uucp uucp 512 May 29 10:28 locks
: lrwxrwxrwx 1 root root 6 Feb 13 19:41 /dev/ttya -> term/a
: lrwxrwxrwx 1 root root 47 Feb 13 19:41 /dev/term/a -> ../../de
: vices/pci@1f,4000/ebus@1/se@14,400000:a
On most Unix systems the tty device to which the modem is attached will
be owner/group uucp. In that case, you would set kermit to owner/group
uucp AND set the setuid bit: "chmod u+s wermit"
HOwever, your tty port is owned by root, so you might think you would
then set kermit to owner/group root and make it setuid. But if you try
that you'll find that kermit won't work that way! It's a (security)
feature!
Unless there is some overwhelming reason why the tty MUST be owned by
root, I'd change it to uucp then do as suggested above.
Fred
--
---- Fred Smith -- fredex@fcshome.stoneham.ma.us -----------------------------
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------